@extends('layouts.application')

@section('css')
    <link rel="stylesheet" href="/vendor/markdown/css/editormd.min.css">

    <link rel="stylesheet" href="/vendor/webupload/dist/webuploader.css">
    <link rel="stylesheet" href="/vendor/webupload/style.css">
@endsection

@section('content')
    <div class="admin-content">
        <div class="admin-content-body">

            @include('admin.crm.article._base')

            {!! Form::open(array('route' => 'crm.article.store','method' => 'post','class'=>'am-form')) !!}

            {{--{!! Form::token() !!}--}}

            @include('admin.crm.article._form',['legend'=>'新增文章'])

            {!! Form::close() !!}

        </div>

        <footer class="admin-content-footer">
            <hr>
            <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
        </footer>
    </div>
@endsection

@section('js')
    {{--上传单张图片--}}
    <script src="/vendor/html5-fileupload/jquery.html5-fileupload.js"></script>
    <script src="/js/upload.js"></script>

    <script src="/vendor/markdown/editormd.min.js"></script>
    <script src="/js/editormd_config.js"></script>
@endsection